

    \filetitle{islocked}{Get lock status of dynamic links or sstate update equations}{model/islocked}

	\paragraph{Syntax}

\begin{verbatim}
List = islocked(M,'!links')
Flag = islocked(M,'!links',Name);
List = islocked(M,'!sstate_update');
Flag = islocked(M,'!sstate_update',Name);
\end{verbatim}

\paragraph{Input arguments}

\begin{itemize}
\item
  \texttt{M} {[} model {]} - Model object.
\item
  \texttt{Name} {[} char {]} - Name of LHS variable in links or sstate
  update equations whose status will be returned.
\end{itemize}

\paragraph{Output arguments}

\begin{itemize}
\item
  \texttt{List} {[} cellstr {]} - List of LHS names in
  \href{modellang/links}{\texttt{!links}} or
  \href{modellang/sstateupdate}{\texttt{!sstate\_update}} equations that
  are currently locked in the model object \texttt{M}.
\item
  \texttt{Flag} {[} \texttt{true} \textbar{} \texttt{false} {]} - Lock
  status (\texttt{true} if locked, \texttt{false} if not locked) of LHS
  name \texttt{Name} in \href{modellang/links}{\texttt{!links}} or
  \href{modellang/sstateupdate}{\texttt{!sstate\_update}} equations.
\end{itemize}

\paragraph{Example}


